package com.victor.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.victor.entity.History;

@Mapper
public interface HistoryDao {
	int batchDelete(@Param("ids") int[] ids);

	int insert(History record);

	History findById(Integer hId);

	int update(History record);

	List<Map<String, String>> getHistorym(@Param("uid")String uid, @Param("pictype")String pictype);

	History findByPicId(@Param("hPicId")String hPicId,@Param("hUserId")String hUserId);

	int updatePicId(History history);
}